<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xml:lang="en" dir="ltr" xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<title><?php echo $title; ?></title>

<?php $url_template = "catalog/view/theme/default"; ?>

<link rel="stylesheet" type="text/css" href="<?php echo $url_template; ?>/stylesheet/homepage/HomePage.css" />
<link rel="stylesheet" type="text/css" href="<?php echo $url_template; ?>/stylesheet/homepage/Banner.css" />
<link rel="stylesheet" type="text/css" href="<?php echo $url_template; ?>/stylesheet/homepage/RongBay.css" />
<link rel="stylesheet" type="text/css" href="<?php echo $url_template; ?>/stylesheet/common/RongNam.css" />
<link rel="stylesheet" type="text/css" href="<?php echo $url_template; ?>/stylesheet/common/payment.css" />

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" href="catalog/view/theme/default/stylesheet/ie6.css" />
<script type="text/javascript" src="catalog/view/javascript/DD_belatedPNG_0.0.8a-min.js"></script>
<script>
DD_belatedPNG.fix('img, #header .div3 a, #content .left, #content .right, .box .top');
</script>
<![endif]-->

<script type="text/javascript" src="catalog/view/javascript/jquery/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="catalog/view/javascript/jquery/thickbox/thickbox-compressed.js"></script>
<link rel="stylesheet" type="text/css" href="catalog/view/javascript/jquery/thickbox/thickbox.css" />
<script type="text/javascript" src="catalog/view/javascript/jquery/tab.js"></script>


</head>

<?php $url_image = "catalog/view/theme/default/image/homepage/"; ?>
<body>
<div id="container">
	<div id="header_top">
		<div id="box-head-top">
			<div id="box-logo">
				<a href="index.php">
		            <img style="float: left;" src="<?php echo $url_image; ?>logo.png" title="Rongnam.com" />
				</a>
			</div>	
			
			<div style="float:right;width:823px;height:46px">
				<div id="box-search-top">	
		            <div class="SearchField">
						<form name="frmSearch" method="get" action="search.php" onsubmit="return doSubmit()">
						<table style="border-collapse: collapse;" id="table1" border="0" cellpadding="0" cellspacing="0">
							<tr>
								<td title="Bật/Tắt bộ gõ tiếng Việt" class="searchLeftOn" id="keyStatus" align="right">
									<a onclick="changeKeyboard('keyStatus')" href="javascript:void(0);">
										<img src="<?php echo $url_image; ?>spacer.gif" border="0" height="27" width="27">
									</a>
								</td>
								<td class="searchText" width="300">
									<input id="input_searchword" name="searchword" value="Nhập từ khóa tìm kiếm" onblur="javascript:if(this.value==''){this.value='Nhập từ khóa tìm kiếm';};" onfocus="javascript:if(this.value=='Nhập từ khóa tìm kiếm'){this.value='';};" type="text" />	
								</td>
								<td class="searchBtn" onclick="javascript:return doSubmit(0);" onmouseover="this.className='searchBtnOn'" onmouseout="this.className='searchBtn'" width="36">&nbsp;</td>
							</tr>
						</table>
						</form>
					</div>
				</div>
			
				<div id="Hmenu">
					<div class="mnItem"> 
						<div style="float:left">
			        	</div>  
						<div style="float:left">
							<a rel="nofollow" href="index.php?route=user_account/dangky" style="font-weight: bold;">Đăng ký</a>
							<a href="#" onclick="return overlay('divLogin')" style="font-weight: bold;">Đăng nhập</a>
						</div>
						<div id="cart_box">
							<a style="background:none" onclick="return shop.cart.frmViewCart(0,0,1);" href="javascript:void(0)">Quản lý tin đăng</a>
							<!--<a href="javascript:void(0)" onclick="return shop.cart.historyCart();" onmouseout="this.className='btnHistoryIcon'" onmouseover="this.className='btnHistoryIconOver'" class="btnHistoryIcon"></a>	
								<a href="javascript:void(0)" onclick="return shop.cart.frmViewCart(0,0,1);" onmouseout="this.className='btnCartIcon'" onmouseover="this.className='btnCartIconOver'" class="btnCartIcon"></a> -->	
								<!--<a href="javascript:void(0)" onclick="return shop.cart.frmViewCart(0,0,1);" style="background:none;font-weight:bold">Thanh toán</a> 
								
								<div id="num_item_cart" class="num_cart"><span>0</span></div>-->
						</div>
					</div>
				</div>			
				<div id="chooseCity" style = "display: none; left: 664px; top: 80px;">
					<div class="boxOvlCityTop"><span></span></div>
					<div class="boxOvlCity">
						<div class="contentOvlCity">
							<div class="RegionPanel" style="float:left">
								<div class="Region" style="background:none">Miền Bắc</div>
								<div class="City"><a href="http://rongbay.com/Ha-Noi" style="font-weight: bold; color: rgb(0, 135, 200);"><b>Hà Nội</b></a></div>
								<div class="City"><a href="http://rongbay.com/Hai-Phong" style="font-weight: bold; color: rgb(0, 135, 200);"><b>Hải Phòng</b></a></div>
								<div class="City"><a href="http://rongbay.com/Bac-Can">Bắc Cạn  </a></div>
								<div class="City"><a href="http://rongbay.com/Bac-Giang">Bắc Giang  </a></div>
								<div class="City"><a href="http://rongbay.com/Bac-Ninh">Bắc Ninh</a></div>
								<div class="City"><a href="http://rongbay.com/Cao-Bang">Cao Bằng</a></div>
								<div class="City"><a href="http://rongbay.com/Dien-Bien">Điện Biên</a></div>
								<div class="City"><a href="http://rongbay.com/Ha-Giang">Hà Giang  </a></div>
								<div class="City"><a href="http://rongbay.com/Ha-Nam">Hà Nam </a></div>
								<div class="City"><a href="http://rongbay.com/Hai-Duong">Hải Dương</a></div>
								<div class="City"><a href="http://rongbay.com/Hoa-Binh">Hoà Bình</a></div>
								<div class="City"><a href="http://rongbay.com/Hung-Yen">Hưng Yên</a></div>
								<div class="City"><a href="http://rongbay.com/Lai-Chau">Lai Châu </a></div>
								<div class="City"><a href="http://rongbay.com/Lang-Son">Lạng Sơn </a></div>
								<div class="City"><a href="http://rongbay.com/Lao-Cai">Lào Cai </a></div>
								<div class="City"><a href="http://rongbay.com/Nam-Dinh">Nam Định</a></div>
								<div class="City"><a href="http://rongbay.com/Ninh-Binh">Ninh Bình  </a></div>
								<div class="City"><a href="http://rongbay.com/Phu-Tho">Phú Thọ  </a></div>
								<div class="City"><a href="http://rongbay.com/Quang-Ninh">Quảng Ninh </a></div>
								<div class="City"><a href="http://rongbay.com/Son-La">Sơn La </a></div>
								<div class="City"><a href="http://rongbay.com/Thai-Binh">Thái Bình</a></div>
								<div class="City"><a href="http://rongbay.com/Thai-Nguyen">Thái Nguyên </a></div><div class="City"><a href="http://rongbay.com/Tuyen-Quang">Tuyên Quang  </a></div><div class="City"><a href="http://rongbay.com/Vinh-Phuc">Vĩnh Phúc  </a></div><div class="City"><a href="http://rongbay.com/Yen-Bai">Yên Bái </a></div>
							</div>
							<div class="RegionPanel" style="float:left">
								<div class="Region" style="background:none">Miền Trung</div>
								<div class="City"><a href="http://rongbay.com/Da-Nang" style="font-weight: bold; color: rgb(0, 135, 200);"><b>Đà Nẵng</b></a></div><div class="City"><a href="http://rongbay.com/Binh-Dinh">Bình Định</a></div><div class="City"><a href="http://rongbay.com/Binh-Phuoc">Bình Phước</a></div><div class="City"><a href="http://rongbay.com/Binh-Thuan">Bình Thuận</a></div><div class="City"><a href="http://rongbay.com/Dak-Lak">Đắk Lắk </a></div><div class="City"><a href="http://rongbay.com/Dak-Nong">Đắk Nông </a></div><div class="City"><a href="http://rongbay.com/Gia-Lai">Gia Lai</a></div><div class="City"><a href="http://rongbay.com/Ha-Tinh">Hà Tĩnh </a></div><div class="City"><a href="http://rongbay.com/Khanh-Hoa">Khánh Hoà </a></div><div class="City"><a href="http://rongbay.com/Kontum">Kontum</a></div><div class="City"><a href="http://rongbay.com/Lam-Dong">Lâm Đồng </a></div><div class="City"><a href="http://rongbay.com/Nghe-An">Nghệ An</a></div><div class="City"><a href="http://rongbay.com/Ninh-Thuan">Ninh Thuận</a></div><div class="City"><a href="http://rongbay.com/Phu-Yen">Phú Yên </a></div><div class="City"><a href="http://rongbay.com/Quang-Binh">Quảng Bình  </a></div><div class="City"><a href="http://rongbay.com/Quang-Nam">Quảng Nam </a></div><div class="City"><a href="http://rongbay.com/Quang-Ngai">Quảng Ngãi  </a></div><div class="City"><a href="http://rongbay.com/Quang-Tri">Quảng Trị  </a></div><div class="City"><a href="http://rongbay.com/Thanh-Hoa">Thanh Hoá</a></div><div class="City"><a href="http://rongbay.com/Thua-Thien-Hue">Thừa Thiên Huế</a></div><div class="City"><a href="http://rongbay.com/TP-Vinh">TP Vinh</a></div>
							</div>
							<div class="RegionPanel" style="float:left">
								<div class="Region">Miền Nam</div><div class="City"><a href="http://rongbay.com/Binh-Duong" style="font-weight: bold; color: rgb(0, 135, 200);"><b>Bình Dương</b></a></div><div class="City"><a href="http://rongbay.com/Can-Tho" style="font-weight: bold; color: rgb(0, 135, 200);"><b>Cần Thơ </b></a></div><div class="City"><a href="http://rongbay.com/TP-HCM" style="font-weight: bold; color: rgb(0, 135, 200);"><b>TP HCM</b></a></div><div class="City"><a href="http://rongbay.com/An-Giang">An Giang</a></div><div class="City"><a href="http://rongbay.com/Ba-Ria-Vung-Tau">Bà Rịa - Vũng Tàu</a></div><div class="City"><a href="http://rongbay.com/Bac-Lieu">Bạc Liêu  </a></div><div class="City"><a href="http://rongbay.com/Ben-Tre">Bến Tre</a></div><div class="City"><a href="http://rongbay.com/Ca-Mau">Cà Mau  </a></div><div class="City"><a href="http://rongbay.com/Dong-Nai">Đồng Nai</a></div><div class="City"><a href="http://rongbay.com/Dong-Thap">Đồng Tháp</a></div><div class="City"><a href="http://rongbay.com/Hau-Giang">Hậu Giang</a></div><div class="City"><a href="http://rongbay.com/Kien-Giang">Kiên Giang </a></div><div class="City"><a href="http://rongbay.com/Long-An">Long An</a></div><div class="City"><a href="http://rongbay.com/Soc-Trang">Sóc Trăng </a></div><div class="City"><a href="http://rongbay.com/Tay-Ninh">Tây Ninh </a></div><div class="City"><a href="http://rongbay.com/Tien-Giang">Tiền Giang </a></div><div class="City"><a href="http://rongbay.com/Tra-Vinh">Trà Vinh</a></div><div class="City"><a href="http://rongbay.com/Vinh-Long">Vĩnh Long</a></div>
							</div>
						</div>
					</div>
					<div class="boxOvlCityBottom"></div>
				</div>
			</div>
		</div>
	</div>	
</div>

<div style="width:1000px;height:46px">
	<div id="Banner">
		<div class="BannerCenter">	
            <div id="Hbtnnew">
				<a href="http://rongbay.com/item.php" onmouseout="this.className='btnAdvertise'" onmouseover="this.className='btnAdvertiseOver'" class="btnAdvertise"></a>	
			</div>
			
			<div class="viewCityHead">
				<a href="http://rongbay.com/Ha-Noi">Hà Nội</a>
				<a href="http://rongbay.com/TP-HCM">TP. Hồ Chí Minh</a>
				<a href="http://rongbay.com/Hai-Phong">Hải Phòng</a>
				<a href="http://rongbay.com/Da-Nang">Đà Nẵng</a>
				<a href="http://rongbay.com/Binh-Duong">Bình Dương</a>
				<a class="choiceCity" onclick="return overlay('chooseCity')" href="#">Tỉnh khác</a>
			</div>
		</div>
	</div>
	<div style="clear:right"></div>
	<div id="top_content">
		<div class="top_contentRight" style="height:3px"></div>
	</div>
	<div id="divLogin" style = "display: none; left: 714px; top: 40px;">
		<form id="frmLogin" method="post" action="index.php?route=user_account/dangnhap">
			<input name="redirect_to" value="" type="hidden" />
			<input name="referer" value="/" type="hidden" />
				<table style="border-collapse: collapse;" border="0" cellpadding="0" width="100%">
					<tr>
						<td>E-mail:</td>
						<td><input class="txtBox" name="username" id="username" size="20" type="text" /></td>
					</tr>
		
	                <tr>
			            <td>Mật khẩu:</td>
		                <td><input class="txtBox" name="password" id="password" size="20" type="password" /></td>
		            </tr>
		            <tr>
		                <td></td>
		                <td><input name="chkAutoLogin" id="chkAutoLogin" value="1" type="checkbox" /> <label for="chkAutoLogin" style="font-size:10px">Nhớ mật khẩu</label></td>
					</tr>
					
		           	<tr>
						<td colspan="2" align="center"><input name="oki" value="Đăng nhập" type="hidden" />
					   	<input class="btnQLogin" name="submit" value="" type="submit" />
					         &nbsp;&nbsp; <a href="#" onclick="overlayclose('divLogin'); return false;">[Đóng]</a> &nbsp;&nbsp;<a href="http://rongbay.com/member_login.php#forgetpass">[Quên mật khẩu?]</a></td>
					</tr>
					<tr>
						<td colspan="2" align="center">
					    	<!--<div class="othrAcc"> Đăng nhập dùng nick : <a class="google" href="http://security.rongbay.com/index.html?openid_identifier=https%3A%2F%2Fwww.google.com%2Faccounts%2Fo8%2Fid&long_redirect=Lw==" title="Đăng nhập vào RồngBay bằng nick Google tại Google.com">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Google</a> hoặc <a class="yahoo" href="http://security.rongbay.com/index.html?openid_identifier=http%3A%2F%2Fme.yahoo.com%2F&long_redirect=Lw==" title="Đăng nhập vào RồngBay bằng nick Yahoo tại Yahoo.com">Yahoo</a>-->
					    	<div class="othrAcc"> Đăng nhập dùng nick : <a onmouseout="this.className='google'" onmouseover="this.className='googleOver'" class="google" href="http://security.rongbay.com/index.html?openid_identifier=https%3A%2F%2Fwww.google.com%2Faccounts%2Fo8%2Fid&amp;long_redirect=Lw==" title="Đăng nhập vào RồngBay bằng nick Google tại Google.com">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Google</a> hoặc &nbsp;<a onmouseout="this.className='yahoo'" onmouseover="this.className='yahooOver'" class="yahoo" href="http://security.rongbay.com/index.html?openid_identifier=http%3A%2F%2Fme.yahoo.com%2F&amp;long_redirect=Lw==" title="Đăng nhập vào RồngBay bằng nick Yahoo tại Yahoo.com">Yahoo</a>
					    	</div>
						</td>
					</tr>
				</table>
		</form>	
	</div> 
</div>

<script type="text/javascript">
	function overlay(id){
		if (document.getElementById(id).style.display == 'none')
			document.getElementById(id).style.display = 'block';
		else
			document.getElementById(id).style.display = 'none'
	}
</script>
